package com.realdolmen.jcc.mobileSquad.util
{
	/**
	 * A utility class to perform actions on numbers.
	 * @author DOMSIEBE
	 */ 
	public final class NumberUtil
	{
		/**
		 * If the number is NaN or Zero true will be returned.
		 * @param number The number to check
		 * @param True if number is NaN or Zero.
		 */		
		public static function isNaNOrZero(number:Number):Boolean{
			if(isNaN(number) || number==0){
				return true;
			}	
			return false;
		}
	}
}